# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Taekyung Kim <Taekyung.Kim.Maths@gmail.com>

pkgname=pari-elldata
pkgver=20210301
pkgrel=1
pkgdesc="PARI/GP version of J. E. Cremona Elliptic Curve Data"
arch=(any)
url="http://pari.math.u-bordeaux.fr/"
license=(GPL)
depends=(pari)
source=("http://pari.math.u-bordeaux.fr/pub/pari/packages/elldata.tgz"{,.asc})
validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') # Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
sha256sums=('dd551e64932d4ab27b3f2b2d1da871c2353672fc1a74705c52e3c0de84bd0cf6'
            'SKIP')

package() {
  mkdir -p "$pkgdir"/usr/share/pari
  cp -r data/elldata "$pkgdir"/usr/share/pari
}
